package com.jiutianniao.p2p.acctrans.core.service;

import java.util.List;

import com.jiutianniao.p2p.acctrans.core.dal.model.AccountDO;

public interface AccountService {

	AccountDO selectForLock(String accountNo);

	AccountDO getAccountDO(String accountNo);

	List<AccountDO> queryByNoList(List<String> accountNoList);

	boolean updateForBalanceAndFreezeAmount(AccountDO accountDO);

	boolean updateBalence(AccountDO accountDO);

	boolean updateFreeze(AccountDO accountDO);

	void creatNewAccount(AccountDO accountDO);

	String getAccountNextSequenceStr();

}
